import { sequelize } from "../db/sequelize.js";
import { DataTypes } from 'sequelize'

export const Blog =sequelize.define('blogs',{
    title:{
        type:DataTypes.STRING,
        allowNull:false
    },
    author:{
        type:DataTypes.STRING,
        allowNull:false
    }
})
